//
//  YDRechargeWithdrawalButtonView.h
//  PeiZiWangBei
//
//  Created by LK-IOS on 2017/11/14.
//  Copyright © 2017年 LK-IOS. All rights reserved.
//

#import <UIKit/UIKit.h>

@class YDRechargeWithdrawalButtonView;


@protocol SYRechargeWithdrawalButtonViewDelegate <NSObject>

@optional

/**
 点击了按钮
 */
-(void)rechargeWithdrawalButtonViewButtonClick;

@end

@interface YDRechargeWithdrawalButtonView : UIView


@property (nonatomic , copy) NSString *buttonTitle;

//创始化
+(instancetype)rechargeWithdrawalButtonWithButtonTitle:(NSString *)buttonTitle;


//按钮nengf点击
-(void)disableButton;


-(void)enableButton;


@property (nonatomic , weak)id<SYRechargeWithdrawalButtonViewDelegate>delegate;

@end
